package com.cloud.servicefeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * Created by gang on 2018/8/26.
 */
@FeignClient(value = "eureka-client")
@Service
public interface HelloWorldService {
    @RequestMapping(value = "/", method = RequestMethod.GET)
    String sayHello();
}
